package com.wt.admin.code.language;

import com.aizuda.easy.security.exp.IErrorCode;

public enum QA2200 implements IErrorCode {
    CODE_2200(2200, "标题不能为空"),
    CODE_2201(2201, "请选择一个分类"),
    CODE_2202(2202, "没有关键词，无法添加"),
    CODE_2203(2203, "请至少为一个关键词添加标注"),
    CODE_2204(2204, "语句ID不存在"),
    CODE_2205(2205, "请选择训练目标" ),
    CODE_2206(2206, "请输入测试语句" );


    private Integer code;
    private String msg;

    QA2200(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
